package com.niit.onlinemusicserver34.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.niit.onlinemusicserver34.model.domain.Admin;


// mybatis
//public interface AdminMapper {
//    Admin getByid(int id);
//}
// <select id = "getByid" parameterType="Integer"></select>
// select * from admin where name = ? and password = ?
// mybatisplus
public interface AdminMapper extends BaseMapper<Admin> {

    // mybatis写法依然有效的
}
